:root {
  --bg: #0f172a;
  --bg-card: #1e293b;
  --bg-card-hover: #263548;
  --bg-section: #162032;
  --border: #334155;
  --border-light: #1e293b;
  --text: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #f97316;
  --accent-light: #fb923c;
  --accent-dark: #ea580c;
  --accent-glow: rgba(249,115,22,0.15);
  --live-red: #ef4444;
  --success: #22c55e;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.5);
  --radius: 12px;
  --radius-sm: 8px;
  --transition: all 0.25s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15,23,42,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.logo-text strong {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.logo-text .accent {
  color: var(--accent);
}

.logo-text small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  letter-spacing: 1px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 2px;
}

.main-nav a {
  padding: 7px 12px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 6px;
  transition: var(--transition);
  font-weight: 500;
  white-space: nowrap;
}

.main-nav a:hover {
  color: var(--accent-light);
  background: var(--accent-glow);
}

.main-nav a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--text);
  padding: 4px;
}

/* Search Box */
.header-search-box {
  position: relative;
  flex: 0 0 auto;
  width: 280px;
}

.search-box-inner {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 5px 8px;
  transition: all 0.3s;
}

.search-box-inner:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.1);
}

.search-tag {
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 0 8px;
  white-space: nowrap;
  cursor: pointer;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-size: 14px;
  padding: 3px 6px;
  min-width: 0;
}

.search-input::placeholder {
  color: var(--text-dim);
}

.search-hot {
  color: #ff6b6b;
  font-size: 12px;
  font-weight: 600;
  padding: 0 6px;
  white-space: nowrap;
  cursor: pointer;
}

.search-submit {
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}

.search-submit:hover {
  transform: scale(1.1);
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(15,23,42,0.98);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1001;
}

.search-dropdown.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.dropdown-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dropdown-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  cursor: pointer;
  transition: all 0.3s;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.dropdown-list li:last-child {
  border-bottom: none;
}

.dropdown-list li:hover {
  color: var(--accent);
}

.rank-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
}

.rank-num.rank-top-1 { background: linear-gradient(135deg, #FFD700, #FFA500); color: #000; }
.rank-num.rank-top-2 { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); color: #000; }
.rank-num.rank-top-3 { background: linear-gradient(135deg, #CD7F32, #B87333); color: #fff; }

.keyword {
  font-size: 13px;
  color: var(--text);
}

.mobile-search-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 20px;
  cursor: pointer;
  padding: 6px;
}

.countdown-label {
  text-align: center;
  color: var(--accent);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px 60px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(249,115,22,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -25%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249,115,22,0.05) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-label {
  display: inline-block;
  padding: 5px 16px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 20px;
  margin-bottom: 20px;
  border: 1px solid rgba(249,115,22,0.2);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.cd-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 24px;
  min-width: 80px;
  box-shadow: var(--shadow);
}

.cd-item b {
  display: block;
  font-size: 32px;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.cd-item span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.cd-sep {
  font-size: 24px;
  font-weight: 300;
  color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-bottom: 36px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: 2px solid var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(249,115,22,0.3);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  padding: 12px 32px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition);
  border: 2px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.hero-hosts {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.host-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
}

.host-item img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.host-dot {
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== Section Common ===== */
section {
  padding: 64px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 44px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  border-radius: 20px;
  margin-bottom: 12px;
  border: 1px solid rgba(249,115,22,0.15);
}

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 15px;
}

/* ===== Live Now ===== */
.live-now {
  background: var(--bg-section);
}

.live-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.live-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.live-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: rgba(249,115,22,0.3);
}

.live-card.featured {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.live-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--live-red);
  margin-bottom: 14px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--live-red);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.live-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.live-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.live-team img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.live-card.featured .live-team img {
  width: 56px;
  height: 56px;
}

.live-team span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
}

.live-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 28px;
  font-weight: 800;
}

.live-card.featured .live-score {
  font-size: 42px;
}

.live-score em {
  color: var(--text-muted);
  font-style: normal;
  font-weight: 300;
}

.live-info {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.live-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 14px;
}

.live-bar div {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 2px;
  transition: width 0.5s ease;
}

.live-detail {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  font-size: 11px;
  color: var(--text-secondary);
}

.live-detail b {
  color: var(--text-muted);
  font-weight: 500;
  margin-right: 4px;
}

/* ===== Quick Nav ===== */
.quick-nav {
  padding: 32px 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(10, 1fr);
  gap: 10px;
}

.q-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 6px;
  text-decoration: none;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border: 1px solid transparent;
}

.q-item:hover {
  background: var(--bg-card);
  border-color: var(--border);
  color: var(--accent);
  transform: translateY(-2px);
}

.q-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border-radius: 12px;
  font-size: 20px;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.q-item:hover .q-icon {
  background: var(--accent-glow);
  border-color: rgba(249,115,22,0.3);
}

.q-label {
  font-size: 11px;
  font-weight: 500;
}

/* ===== Schedule ===== */
.schedule-tabs {
  display: flex;
  gap: 6px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 8px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.tab-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.tab-btn.active {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.groups-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.group-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition);
}

.group-card:hover {
  border-color: rgba(249,115,22,0.3);
  box-shadow: var(--shadow);
}

.group-head {
  padding: 12px 16px;
  background: var(--bg-section);
  border-bottom: 1px solid var(--border);
}

.group-head h3 {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
}

.group-body {
  padding: 10px 16px;
}

.g-team {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  font-weight: 500;
}

.g-team:last-child {
  border-bottom: none;
}

.g-team img {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

.round-block {
  margin-bottom: 24px;
}

.round-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-left: 10px;
  border-left: 3px solid var(--accent);
}

.match-rows {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.m-row {
  display: grid;
  grid-template-columns: 70px 50px 1fr 70px;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.m-row:hover {
  border-color: rgba(249,115,22,0.3);
  box-shadow: var(--shadow-sm);
}

.m-time {
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

.m-group {
  font-size: 11px;
  color: var(--text-muted);
  background: var(--bg-section);
  padding: 3px 8px;
  border-radius: 4px;
  text-align: center;
}

.m-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
}

.m-teams img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.m-teams b {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
}

.m-status {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: center;
  padding: 3px 8px;
  background: var(--bg-section);
  border-radius: 4px;
}

.m-status.live {
  color: var(--live-red);
  background: rgba(239,68,68,0.1);
}

.m-status.done {
  color: var(--success);
  background: rgba(34,197,94,0.1);
}

.ko-timeline {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 16px;
}

.ko-stage {
  flex: 1;
  min-width: 180px;
}

.ko-title {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
  padding: 8px;
  background: var(--bg-section);
  border-radius: var(--radius-sm);
  color: var(--accent);
}

.ko-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ko-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
}

.ko-item b {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 10px;
}

.ko-arrow {
  font-size: 20px;
  color: var(--accent);
  margin-top: 32px;
  flex-shrink: 0;
}

/* ===== Players ===== */
.players-section {
  background: var(--bg-section);
}

.players-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.player-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.player-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
  border-color: rgba(249,115,22,0.3);
}

.player-img-wrap {
  height: 200px;
  overflow: hidden;
  background: var(--bg-section);
  display: flex;
  align-items: center;
  justify-content: center;
}

.player-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.player-card:hover .player-img-wrap img {
  transform: scale(1.05);
}

.player-body {
  padding: 18px;
}

.player-body h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.player-body .flag {
  font-size: 16px;
}

.player-team {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.player-stats {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
  padding: 10px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.player-stats div {
  text-align: center;
  flex: 1;
}

.player-stats b {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.player-stats span {
  font-size: 10px;
  color: var(--text-muted);
}

.player-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== News ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.news-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.3);
}

.news-card.featured {
  grid-column: span 2;
  position: relative;
}

.news-card.featured img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.news-overlay {
  position: relative;
  z-index: 2;
  padding: 32px;
  background: linear-gradient(to top, rgba(15,23,42,0.9) 0%, rgba(15,23,42,0.5) 60%, transparent 100%);
  color: var(--text);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 280px;
}

.news-overlay h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
}

.news-overlay p {
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.85;
  margin-bottom: 10px;
}

.news-card:not(.featured) img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.news-body {
  padding: 18px;
}

.news-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 8px;
  border: 1px solid rgba(249,115,22,0.15);
}

.news-body h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-body time,
.news-overlay time {
  font-size: 11px;
  color: var(--text-muted);
}

.news-overlay time {
  color: rgba(241,245,249,0.6);
}

/* ===== Predictions ===== */
.predictions-section {
  background: var(--bg-section);
}

.predictions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.pred-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.pred-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.3);
}

.pred-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.pred-header img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
}

.pred-header span {
  font-size: 13px;
  font-weight: 700;
}

.pred-header b {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 11px;
}

.pred-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.pred-rate {
  display: flex;
  align-items: center;
  gap: 8px;
}

.rate-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}

.rate-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  border-radius: 3px;
  width: var(--p);
  transition: width 0.8s ease;
}

.pred-rate.away .rate-fill {
  background: linear-gradient(90deg, #64748b, #94a3b8);
}

.pred-rate.draw .rate-fill {
  background: linear-gradient(90deg, #475569, #64748b);
}

.rate-num {
  font-size: 12px;
  font-weight: 700;
  min-width: 32px;
  text-align: right;
  color: var(--accent);
}

.pred-footer {
  display: flex;
  justify-content: space-between;
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.pred-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Comments ===== */
.comments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.comment-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.comment-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,0.3);
}

.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.comment-head img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.comment-head strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
}

.comment-head span {
  font-size: 11px;
  color: var(--text-muted);
}

.comment-card > p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.comment-foot {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.comment-foot span {
  cursor: pointer;
  transition: color 0.2s;
}

.comment-foot span:hover {
  color: var(--accent);
}

/* ===== Teams ===== */
.teams-section {
  background: var(--bg-section);
}

.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.3);
}

.team-rank {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 28px;
  height: 28px;
  background: var(--bg-section);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
}

.team-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
  border: 2px solid var(--accent);
}

.team-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 3px;
}

.team-title {
  display: inline-block;
  padding: 2px 10px;
  background: var(--accent-glow);
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 1px solid rgba(249,115,22,0.15);
}

.team-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Stats ===== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.stat-box:hover {
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,0.3);
}

.stat-box h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
  color: var(--accent);
}

.stat-rows {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.stat-row {
  display: grid;
  grid-template-columns: 40px 1fr 90px 50px;
  align-items: center;
  padding: 8px 10px;
  font-size: 12px;
  border-radius: 4px;
  transition: background 0.2s;
}

.stat-row:hover {
  background: var(--bg-section);
}

.stat-row.head {
  font-weight: 700;
  color: var(--text-muted);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-row img {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 4px;
  vertical-align: middle;
}

.stat-row span:last-child {
  font-weight: 700;
  text-align: right;
  color: var(--accent);
}

/* ===== Videos ===== */
.videos-section {
  background: var(--bg-section);
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.video-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.video-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.3);
}

.v-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.v-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-card:hover .v-thumb img {
  transform: scale(1.05);
}

.v-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: rgba(249,115,22,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #fff;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.video-card:hover .v-play {
  background: var(--accent);
  transform: translate(-50%, -50%) scale(1.1);
}

.v-time {
  position: absolute;
  bottom: 8px;
  right: 8px;
  padding: 2px 6px;
  background: rgba(0,0,0,0.7);
  color: #fff;
  font-size: 10px;
  border-radius: 3px;
  font-weight: 600;
}

.v-info {
  padding: 16px;
}

.v-info h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.v-info p {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== Community ===== */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.topic-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: var(--transition);
}

.topic-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.3);
}

.topic-card.hot {
  border-color: rgba(249,115,22,0.2);
}

.topic-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.topic-tag {
  padding: 2px 8px;
  background: var(--bg-section);
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 700;
  border-radius: 4px;
}

.topic-tag.hot {
  background: var(--accent-glow);
  color: var(--accent);
  border: 1px solid rgba(249,115,22,0.15);
}

.topic-count {
  font-size: 11px;
  color: var(--text-muted);
}

.topic-card h3 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 8px;
}

.topic-card > p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 14px;
}

.topic-foot {
  display: flex;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.topic-foot span {
  cursor: pointer;
  transition: color 0.2s;
}

.topic-foot span:hover {
  color: var(--accent);
}

/* ===== Highlights ===== */
.highlights-section {
  background: var(--bg-section);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.highlight-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.highlight-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(249,115,22,0.3);
}

.hl-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  background: var(--accent);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  border-radius: 16px;
  z-index: 2;
}

.highlight-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.hl-body {
  padding: 16px;
}

.hl-body h3 {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 6px;
}

.hl-body p {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 6px;
}

.hl-body time {
  font-size: 11px;
  color: var(--text-muted);
}

/* ===== History ===== */
.history-timeline {
  position: relative;
  max-width: 720px;
  margin: 0 auto;
}

.history-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}

.tl-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 32px;
  position: relative;
}

.tl-item:nth-child(odd) {
  flex-direction: row-reverse;
}

.tl-year {
  width: 70px;
  text-align: center;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}

.tl-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px;
  margin: 0 16px;
  transition: var(--transition);
}

.tl-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(249,115,22,0.3);
}

.tl-card h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
}

.tl-card p {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Venues ===== */
.venues-section {
  background: var(--bg-section);
}

.venues-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.venue-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.venue-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: rgba(249,115,22,0.3);
}

.venue-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.venue-card:hover img {
  transform: scale(1.05);
}

.venue-body {
  padding: 18px;
}

.venue-body h3 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 6px;
}

.venue-loc {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.venue-cap {
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 8px;
}

.venue-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-section);
  color: var(--text-secondary);
  padding: 48px 0 0;
  border-top: 1px solid var(--border);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.footer-brand img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}

.footer-brand strong {
  color: var(--text);
  font-size: 17px;
  font-weight: 800;
}

.footer-brand .accent {
  color: var(--accent);
}

.footer-brand p {
  font-size: 12px;
  margin-top: 3px;
}

.footer-links h4 {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links a {
  display: block;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 12px;
  padding: 3px 0;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 11px;
  line-height: 2;
}

.footer-bottom a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--accent);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 18px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  box-shadow: var(--shadow);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--accent-dark);
  transform: translateY(-3px);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .main-nav a {
    padding: 6px 8px;
    font-size: 12px;
  }
  .live-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .live-card.featured {
    grid-column: span 2;
    grid-row: span 1;
  }
  .players-grid,
  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .news-card.featured {
    grid-column: span 2;
  }
  .predictions-grid,
  .highlights-grid,
  .venues-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .comments-grid,
  .community-grid,
  .videos-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .groups-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .quick-grid {
    grid-template-columns: repeat(5, 1fr);
  }
}

@media (max-width: 768px) {
  .header-inner {
    height: 56px;
  }
  .menu-toggle {
    display: block;
  }
  .mobile-search-toggle {
    display: block;
  }
  .header-search-box {
    display: none;
  }
  .header-search-box.show {
    display: block;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    width: 100%;
    padding: 10px 16px;
    background: rgba(15,23,42,0.98);
    border-bottom: 1px solid var(--border);
  }
  .countdown-label {
    font-size: 14px;
    padding: 0 16px;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
  }
  .btn-primary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .main-nav {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: rgba(15,23,42,0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 14px;
    gap: 2px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }
  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }
  .main-nav a {
    padding: 10px 14px;
    font-size: 14px;
  }
  .hero {
    padding: 80px 16px 48px;
    min-height: auto;
  }
  .hero h1 {
    font-size: 28px;
  }
  .hero p {
    font-size: 14px;
  }
  .hero-countdown {
    gap: 6px;
  }
  .cd-item {
    padding: 12px 16px;
    min-width: 60px;
  }
  .cd-item b {
    font-size: 24px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 10px;
  }
  .hero-hosts {
    flex-wrap: wrap;
  }
  section {
    padding: 40px 0;
  }
  .section-header h2 {
    font-size: 24px;
  }
  .live-grid,
  .players-grid,
  .teams-grid,
  .predictions-grid,
  .comments-grid,
  .stats-grid,
  .videos-grid,
  .community-grid,
  .highlights-grid,
  .venues-grid,
  .groups-grid {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .news-card.featured {
    grid-column: span 1;
  }
  .quick-grid {
    grid-template-columns: repeat(5, 1fr);
  }
  .ko-timeline {
    flex-direction: column;
    align-items: stretch;
  }
  .ko-arrow {
    transform: rotate(90deg);
    margin: 8px auto;
  }
  .history-timeline::before {
    left: 16px;
  }
  .tl-item,
  .tl-item:nth-child(odd) {
    flex-direction: column;
    padding-left: 40px;
  }
  .tl-year {
    text-align: left;
    margin-bottom: 6px;
  }
  .tl-card {
    margin: 0;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .m-row {
    grid-template-columns: 1fr;
    gap: 6px;
    text-align: center;
  }
  .m-teams {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 12px;
  }
  .header-inner {
    padding: 0 12px;
  }
  .hero h1 {
    font-size: 22px;
  }
  .cd-item {
    padding: 8px 10px;
    min-width: 48px;
  }
  .cd-item b {
    font-size: 20px;
  }
  .quick-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
  }
  .q-icon {
    width: 36px;
    height: 36px;
    font-size: 16px;
  }
  .q-label {
    font-size: 9px;
  }
  .section-header h2 {
    font-size: 20px;
  }
  .live-card.featured .live-score {
    font-size: 32px;
  }
  .live-card.featured .live-team img {
    width: 44px;
    height: 44px;
  }
  .stat-row {
    grid-template-columns: 30px 1fr 70px 40px;
    font-size: 11px;
    padding: 6px;
  }
}
